package com.he.principles.LSP.after;

/**
 * @description: TODO
 * @Author: HCL
 * @Date: 2024/8/22 10:58
 */
public class SquareService implements QuadrilateralService{

    public double getSide() {
        return side;
    }

    public void setSide(double side) {
        this.side = side;
    }

    private double side;

    @Override
    public double getLength() {
        return side;
    }

    @Override
    public double getWidth() {
        return side;
    }
}
